• Home
  • Solar Light
      0) { while($row = mysqli_fetch_assoc($result)) { $subcat11 =str_replace(" ", "-", $row['subcat']); $subcat11=strtolower($subcat11); $subcat1 =$row['subcat']; $tablename1 = str_replace(" ", "_", $subcat1); ?>
  • Products
  • Services
  • Clients
  • About Us
  • Contact Us
0) { $row1 = mysqli_fetch_assoc($result1); }else { // echo 'Could not Find Any Record'; header("location: 404-page.html"); } // ======================================== //thumbnail ================================ if (isset($_GET['product']) || isset($_GET['subcategory']) ) { $id = $_GET['product']; $tablename=strtolower($_GET['subcategory']); $subcat1 = $tablename; $subcat1 = str_replace("_", " ", $subcat1); $sql = "select * from ".$tablename." where id='".$id."'"; // $sql="select * from hybrid_solar_light where id=1"; // echo "
Table NAme :" .$tablename; // echo "
ID : " .$id; // echo "
SQL 1 :" .$sql; // echo "
SUBCAT : " .$subcat1; $result = mysqli_query($conn, $sql); if (mysqli_num_rows($result) > 0) { $row = mysqli_fetch_array($result); } else{ // echo 'You Can not Edit Profile'; header("location: 404-page.html"); } } ?>

'; $no=mysqli_num_fields($result); $no1=$no-20; // echo "total " .$no1; $div=round($no1/2)+3; // echo $div+ 4; // while ($i < $no) // { // $meta = $result -> fetch_field_direct($i); // $j=$i+1; // $meta1 = $result -> fetch_field_direct($j); // echo '' . $meta -> name . '' . $row[$i] .'' . $meta1->name . '' . $row[$j] .''; // $i = $i + 2; // } // echo ''; ?> Product Specification '; echo "
"; echo '
'; // while ($i < mysql_num_fields($result)) while ($i < $div) { $meta = $result -> fetch_field_direct($i); // $j=$i+1; // $meta1 = $result -> fetch_field_direct($j); $meta_name=str_replace("_"," ",$meta->name); $data=str_replace("?","° ",$row[$i]); echo ''; $i = $i + 1; } echo '
' . $meta_name . '' . $data.'
'; echo '
'; echo ''; // while ($i < mysql_num_fields($result)) while ($i < $no1) { $meta = $result -> fetch_field_direct($i); // $j=$i+1; // $meta1 = $result -> fetch_field_direct($j); $meta_name=str_replace("_"," ",$meta->name); $data=str_replace("?","° ",$row[$i]); echo ''; $i = $i + 1; } echo '
Battery 4.4 Ah 11.1v Lithium Ion
6Ah 12.8V LiFePo4
' . $meta_name . '' . $data .'
'; echo '
'; ?>

Features

Top Rated

Similar Products

© Copyright 2024, All right reserved by Fevino